package com.atguigu.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by IntelliJ IDEA.
 * User: zhuangzibing
 * Date: 2020/7/22
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(String name) {
        return "Hello, name is " + name;
    }
}
